package com.ff.exerpro.exception;

import lombok.Getter;

public enum BussExceptionEnum {

    SUCCESS(200, "ok"),
    ERROR(500, "error"),
    INVALID_PARAM(501, "invalid param"),
    EMP_NO_BODY(10001, "emp not exist yet");

    @Getter
    private final Integer code;
    @Getter
    private final String msg;

    private BussExceptionEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
